<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>

<!--
   Copyright (C) 2013 Glyptodon LLC

   Permission is hereby granted, free of charge, to any person obtaining a copy
   of this software and associated documentation files (the "Software"), to deal
   in the Software without restriction, including without limitation the rights
   to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
   copies of the Software, and to permit persons to whom the Software is
   furnished to do so, subject to the following conditions:

   The above copyright notice and this permission notice shall be included in
   all copies or substantial portions of the Software.

   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
   THE SOFTWARE.
-->

<html xmlns="http://www.w3.org/1999/xhtml">

    <head>
        <link rel="icon" type="image/png" href="images/guacamole-logo-64.png"/>
        <link rel="apple-touch-icon" type="image/png" href="images/guacamole-logo-144.png"/>
        <link rel="stylesheet" type="text/css" href="styles/ui.css"/>
        <link rel="stylesheet" type="text/css" href="styles/admin.css"/>
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, target-densitydpi=medium-dpi"/>
        <title>Guacamole ${project.version}</title>
    </head>

    <body>

        <div id="logout-panel">
            <button id="back">Back</button>
            <button id="logout">Logout</button>
        </div>
           
        <h2>Administration</h2>
        <div class="settings section">

            <h3 class="require-manage-users">Users</h3>
            <div class="require-manage-users" id="users">

                <p>
                    Click or tap on a user below to manage that user. Depending
                    on your access level, users can be added and deleted, and their
                    passwords can be changed.
                </p>
               
                <div id="user-add-form"><input type="text" class="name" id="username" placeholder="Username"/><button id="add-user">Add User</button></div>
                
                <div id="user-list">
                </div>
                    
                <div id="user-list-buttons">
                </div>
                    
            </div>

            <h3 class="require-manage-connections">Connections</h3>
            <div class="require-manage-connections" id="connections">

                <p>
                    Click or tap on a connection below to manage that connection.
                    Depending on your access level, connections can be added and
                    deleted, and their properties (protocol, hostname, port, etc.)
                    can be changed.
                </p>

                <div id="connection-add-form"><button id="add-connection">New Connection</button><button id="add-connection-group">New Group</button></div>
                
                <div id="connection-list">
                </div>
                    
                <div id="connection-list-buttons">
                </div>
                    
            </div>

        </div>

        <!-- guacamole-common-js -->
        <script type="text/javascript" src="guacamole-common-js/all.min.js"></script>

        <script type="text/javascript" src="scripts/session.js"></script>
        <script type="text/javascript" src="scripts/guac-ui.js"></script>
        <script type="text/javascript" src="scripts/service.js"></script>
        <script type="text/javascript" src="scripts/history.js"></script>
        <script type="text/javascript" src="scripts/admin-ui.js"></script>

    </body>

</html>
